package com.gscitysfy.cus.drain.modules.reserveplan.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 预案管理-指挥体系信息表
 * </p>
 *
 * @author shenglin
 * @since 2022-11-15 17:47:50
 */
@Getter
@Setter
@TableName("drain_reserve_plan_control_info")
public class DrainReservePlanControlInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId
    private Long cmKid;

    /**
     * 指挥人名称
     */
    private String controlUserName;

    /**
     * 职务code
     */
    private String controlJobCode;

    /**
     * 职责
     */
    private String controlDuty;

    /**
     * 联系方式
     */
    private String controlContactWay;

    @TableField(fill = FieldFill.INSERT)
    private String cmCreator;

    private String cmModifier;

    private String cmOrgflag;

    private Long cmRegflag;

    private String cmTenantid;

    @TableField(fill = FieldFill.INSERT)
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date cmAddtime;

    @TableField(fill = FieldFill.UPDATE)
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date cmUptime;

    private Long cmVersion;

    @TableField(fill = FieldFill.INSERT)
    private Boolean cmUsable;

    /**
     * 预案id
     */
    private Long infoId;


}
